package cn.itqiqi.student_system_java.mapper;

import cn.itqiqi.student_system_java.pojo.StudentAll;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentAllMapper extends BaseMapper<StudentAll> {

    List<StudentAll> getStuAll(Page<StudentAll> page);
    List<StudentAll> getStuAllByName(Page<StudentAll> page, String sname);
    List<StudentAll> getStuAllBySax(Page<StudentAll> page, String sax);
    List<StudentAll> getStuAllByClassId (Page<StudentAll> page, String classId);

}
